<div id="account" class="logbox clearfix">  
    <div style="display:none;" th:fragment="title" th:inline="text">[[#{pageTitle.forgetPassword}]] - [[#{pageTitle.title}]]</div>
    
    <div id="forgotPassword">
        <h3>忘记密码</h3>
        <p>输入您的邮箱地址以重设密码。</p>  
        
        <span class="error" th:switch="${errorCode}" th:if="${errorCode}"> 
            <p th:case="'invalidCustomer'">邮箱不存在。</p>
            <p th:case="'inactiveCustomer'">您的帐户未激活。   请联系管理员激活您的帐户。</p>
            <p th:case="*">未知错误。</p> 
        </span>
                    
        <blc:form id="forgotPasswordForm" th:action="@{/login/forgotPassword}" method="post" class="clearfix">
            <div class="form50">
                <label for="emailAddress">Email</label>
                <input type="email" name="emailAddress" class="field50" />
            </div>
            <div class="login_register">
                <input class="reset_password_button big red" type="submit" value="重设密码"/>
            </div>
            <div class="login_register_alt_links">
                <a class="account" th:href="@{/login}">登录</a> 
                <a class="account" th:href="@{/register}">注册</a>
            </div>
        </blc:form>
    </div>

</div>